﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CosView.GUI
{
    class Bar : DrawerObject
    {
        public Bar(int sx, int sy, int ex, int ey) : base(ex, ey, sx, sy) { this.ForeColor = ConsoleColor.White; }
        public bool IsActive = false;
        public override ConsoleColor BackColor
        {
            get
            {
                if (IsActive) return ConsoleColor.Blue;
                else return ConsoleColor.DarkBlue;
            }
            set
            {
                base.BackColor = value;
            }
        }
    }
}
